<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Login</title>

        <!-- Reset -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/reset.css" /> 
        <!-- Main Style File -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/root.css" /> 
        <!-- Grid Styles -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/grid.css" /> 
        <!-- Typography Elements -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/typography.css" /> 
        <!-- Jquery UI -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/jquery-ui.css" />
        <!-- Jquery Plugin Css Files Base -->
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/jquery-plugin-base.css" />

        <!--[if IE 7]>	  <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>admin_public/style/ie7-style.css" />	<![endif]-->

        <!-- jquery base -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery-ui-1.8.11.custom.min.js"></script>
        <!-- jquery plugins settings -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery-settings.js"></script>
        <!-- toggle -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/toogle.js"></script>
        <!-- tipsy -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.tipsy.js"></script>
        <!-- uniform -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.uniform.min.js"></script>
        <!-- Jwysiwyg editor -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.wysiwyg.js"></script>
        <!-- table shorter -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.tablesorter.min.js"></script>
        <!-- raphael base and raphael charts -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/raphael.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/analytics.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/popup.js"></script>
        <!-- fullcalendar -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/fullcalendar.min.js"></script>
        <!-- prettyPhoto -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.prettyPhoto.js"></script>
        <!-- Jquery.UI Base -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.core.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.widget.js"></script>
        <!-- Slider -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.slider.js"></script>
        <!-- Date Picker -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.datepicker.js"></script>
        <!-- Tabs -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.tabs.js"></script>
        <!-- Accordion -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.ui.accordion.js"></script>
        <!-- Google Js Api / Chart and others -->
        <script type="text/javascript" src="https://www.google.com/jsapi"></script>
        <!-- Date Tables -->
        <script type="text/javascript" src="<?php echo base_url(); ?>admin_public/js/jquery.dataTables.js"></script>



    </head>
    <body>

        <div class="loginform">

            <div class="title"> <img src="<?php echo base_url(); ?>admin_public/img/logo.png" width="112" height="35" /></div>
            <div class="body">
                <?php if(!empty($error)){ ?>
                <div class="albox errorbox" style="z-index: 270;">
                    <b>Error :</b> <?php echo $error ?>
                    <a class="close tips" href="#" original-title="close">close</a>
                </div>
                <?php } ?>
                <?php echo form_open() ?>
                    <label class="log-lab">Username</label>
                    <?php echo form_input($user_input) ?>
                    <label class="log-lab">Password</label>
                    <?php echo form_password($password_input) ?>
                    <?php echo form_submit($submit_input); ?>
                <?php echo form_close() ?>
            </div>
        </div>


        </div>
    </body>
</html>
